<?php
class APIrole extends BaseController_Controller {

	
	public function __construct()
	{			
			parent::__construct();		
			//$this->load->model('sysuser_model');
			$this->load->library('sys/sysrole');
	}

	function roles($var)
	{	
		$cls=new SysRole($var);	
		echo json_encode($cls);			
	}


} 
